<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- url -->
    <a href="http://www.baidu.com/" target = "_blank">百度的官网</a>
    <!-- 相对路径 -->
    <a href = "demo1.html" target="_self">跳转到 demo1</a>
    <a href = "a/test.html" target="_self">跳转到当前目录下的 a 文件夹中的 test.html</a>
    <!-- 绝对路径 -->
     <a href = "/javaweb_code/demo1.html" target = "_blank">以绝对路径跳转到 demo1</a>
</body>
</html>